/*********************************
 * PROPRIETARY/CONFIDENTIAL.  Use of this product is subject to license terms.
 * Copyright (c) 2012 NVision Group, Inc. All rights reserved.
 *
 * AbstractTabPresenter.java 13.07.2012 17:36:00
 *********************************/
package ru.kruzhki.client.gwtp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.proxy.Proxy;

/**
 * @author starasov
 *
 */
public abstract class AbstractPresenter <V extends View, P extends Proxy<?>> extends Presenter<V,P> {
    protected final Logger log = LoggerFactory.getLogger(this.getClass().getName());

    public AbstractPresenter(EventBus eventBus, V view, P proxy) {
        super(eventBus, view, proxy);
        log.debug("Constructor: {}",view);
    }
    @Override
    protected void onBind() {
        log.debug("onBind");
        super.onBind();
    }
    @Override
    protected void onUnbind() {
        log.debug("onUnbind");
        super.onUnbind();
    }
    @Override
    protected void onHide() {
        log.debug("onHide");
        super.onHide();
    }
    @Override
    protected void onReset() {
        log.debug("onReset");
        super.onReset();
    }
    @Override
    protected void onReveal() {
        log.debug("onReveal");
        super.onReveal();
    }
    
    
}
